package com.hall.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.sql.Timestamp;

@Mapper
@Repository
public interface TencentCosMapper {
    /**病例文件上传
     * @param* MultipartFile file,String appointment_id,String report_id,String report_time,String clientfilename,String clientfiletype
     * @return 成功的条数
     */
    Integer uploadFile(@Param("id") String id, @Param("appointment_id")String appointment_id,  @Param("filename")String filename, @Param("filetype")String filetype, @Param("filepath") String filepath, @Param("user_id")String user_id, @Param("user_name")String user_name,@Param("report_id") String report_id, @Param("report_time")String report_time);
    /**
     * 病例文件下载
     */
    String downLoad(@Param("id") String id);
}
